﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JYB.SummitExam.BLL
{
    public class UserBLL
    {
        AbstractFactory af = new SystemUserFactory();

        public T Login<T>(string name, string pwd)
        {
            return af.GetUserDAL().Login<T>(name, pwd);
        }

        public List<Model.SystemUserModel> GetStudentList(int id)
        {
            return af.GetUserDAL().GetStudentList(id);
        }
    }
}
